<?php

return [
    'application' => [
        'id' => '美粒儿平台',
        'baseUri' => '/manage/',
        'cacheDir' => APP_CACHE_PATH,
        'urlAdminLogin'  => 'sys/login',
        'pageLimit' => 20,
    ],
    'operator' => [
        'groupDbTable' => [
            'group' => 'backend_operator_group',
            'controller' => 'sys_manage_controller',
            'controllerAction' => 'sys_manage_controller_action',
            'groupRight' => 'backend_operator_group_right'
        ],
        'login' => [
            'url' => 'sys/login',
            'controller' => 'sys',
            'action' => 'login'
        ],
        // 不需要权限判断的controller
        'nonVerifyRight' => [
            'index' => 'index',
            'sys' => ['logout', 'login'],
            'tools' => '*'
        ]
    ]
];
